package com.xsir.ditan.miniprogram.service;

import com.xsir.ditan.miniprogram.entity.Certificate;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xsir
 * @since 2021-02-08
 */
public interface ICertificateService extends IService<Certificate> {
    
    Map<String, Object> getList();
    
    boolean insertOrUpdate(Certificate certificate);
    
    Map<String, Object> setStatus(Integer id, Integer status);
}
